﻿using IntelligentAgriculture.Contracts.Dto.Input;
using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface
{
	/// <summary>
	/// 羊只采购
	/// </summary>
	public interface IPurchaseFormModelService
	{
		/// <summary>
		/// 羊只采购列表
		/// </summary>
		/// <param name="input"></param>
		/// <returns></returns>
		Task<PageOutput<PurchaseformmodelOutOut>> GetPurchaseForms(PurchaseformmodelInPut input);
		/// <summary>
		/// 羊只采购添加
		/// </summary>
		/// <param name="inPuts"></param>
		/// <returns></returns>
		Task<int> AddPurchaseForms(List<PurchaseFormsAddInput> inPuts);
		/// <summary>
		/// 获取摘要
		/// </summary>
		/// <returns></returns>
		Task<List<object>> GetSummaryEnum();
		/// <summary>
		/// 养只采购删除
		/// </summary>
		/// <param name="ids"></param>
		/// <returns></returns>
		Task<int> DelPurchaseForms(params int[] ids);
		/// <summary>
		/// 反填羊只采购
		/// </summary>
		/// <param name="purchaseFormId"></param>
		/// <returns></returns>
		  Task<Purchaseformmodel> Purchaseformmodel(int purchaseFormId);
		/// <summary>
		/// 修改羊只采购
		/// </summary>
		/// <param name="entity">实体</param>
		/// <returns></returns>
		Task<int> UpdatePurchaseformmodel(Purchaseformmodel entity);


	}
}
